package com.cool.modules.finance.entity.coin;


import com.cool.core.base.BaseEntity;
import com.mybatisflex.annotation.Table;
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@Table(value = "finance_coin",comment = "币种管理")
public class FinanceCoinEntity extends BaseEntity<FinanceCoinEntity> {

    /**
     * 币种名称
     */
    @ColumnDefine(comment = "币种名称",notNull = true,type = "varchar(255)")
    private String coinName;

    /**
     * 区域代码
     */
    @ColumnDefine(comment = "币种代码",notNull = true,type = "varchar(255)")
    private String coinCode;

    /**
     * 符号
     */
    @ColumnDefine(comment = "符号",notNull = true,type = "varchar(255)")
    private String symbol;

    /**
     * 描述
     */
    @ColumnDefine(comment = "描述")
    private String description;

    /**
     * 热度排序
     */
    @ColumnDefine(comment = "热度排序",notNull = true,defaultValue ="0",type = "bigint")
    private Long hotOrder;




}
